﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using SimplePad.Core;
using System.Reflection;

namespace SimplePad
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            // The LoggingService is a small wrapper around log4net.
            // Our application contains a .config file telling log4net to write
            // to System.Diagnostics.Trace.
            LoggingService.Info("Application start");

            // Get a reference to the entry assembly
            var exe = typeof(Program).Assembly;

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new MainForm());

            LoggingService.Info("Application shutdown");
        }
    }
}
